const express = require('express')

const app = express()

/* app.use('/user',express.static('public'))
app.use('/news',express.static('files'))

app.get('/',(req,res)=>{
    res.send('express get')
}) */

/* app.use(express.static('public'))
app.use('/news',express.static('files'))


app.get('/indexx',(req,res)=>{
    res.send('express get')
}) */


app.use('/user',express.static('public'))
app.use('/news',express.static('files'))


app.listen(8080,()=>{
    console.log('8080 running')
})